/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Custom SSL for a Zone
 * Custom SSL certificate for a zone
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Starshield.Model;
using JDCloudSDK.Core.Annotation;

namespace  JDCloudSDK.Starshield.Apis
{

    /// <summary>
    ///  上载域的新SSL证书
    /// </summary>
    public class CreateSSLConfigurationRequest : JdcloudRequest
    {
        ///<summary>
        /// 域的SSL证书或证书以及中间层
        ///</summary>
        public   string Certificate{ get; set; }
        ///<summary>
        /// 域的私钥
        ///</summary>
        public   string Private_key{ get; set; }
        ///<summary>
        /// SSL泛捆绑在各处有着最高的概率被验证，甚至能被使用过时的或不寻常的信任存储的客户端验证。
        /// 最佳捆绑使用最短的认证链和最新的中间证书。
        /// 而强制捆绑会验证证书链，但不以其他方式修改证书链。
        /// 
        ///</summary>
        public   string Bundle_method{ get; set; }
        ///<summary>
        /// Geo_restrictions
        ///</summary>
        public   Geo_restrictions Geo_restrictions{ get; set; }
        ///<summary>
        /// “legacy_custom”类型支持在TLS握手中不包含SNI的传统客户端。
        ///</summary>
        public   string Ty_pe{ get; set; }
        ///<summary>
        /// Zone_identifier
        ///Required:true
        ///</summary>
        [Required]
        public   string Zone_identifier{ get; set; }
    }
}